\documentclass{book}

\usepackage{graphicx}
\usepackage{makeidx}
\usepackage{footnote}
\makeindex

% goto http://web.image.ufl.edu/help/latex/latex_indexes.shtml
% to read about index creation
% summary:
% simple\index{simple}
% deeper\index{under!something!else}
% see\index{exampe|see{simple}}

%\textheight     7in
%\textwidth      5.5in
\textheight     9in
\textwidth      6.75in
\topmargin      0.25in
\oddsidemargin  0in
\evensidemargin -0.25in

\begin{document}
\frontmatter
\pagestyle{empty}
\pagenumbering{roman}
\title{Bigtop Esoterica}
\author{Philip Crow}
\date{Version 1.0}
\maketitle

\noindent
\textbf{Bigtop Esoterica}\\
by Phil Crow \\
Version 1.0 for Bigtop version 0.20

\vspace{.2in}
\noindent
Copyright \copyright 2006 Phil Crow.

\noindent
All rights reserved except: you may use the code examples under
the terms of the Perl 5.8.6 license (or any later version of
Perl's license at your option) and you may make unmodified copies or
excerpts of this book for yourself and others, so long as you are not
compensated in any way for doing so.

\newpage
\pagestyle{headings}

%\makeatletter
%\renewcommand{\@pnumwidth}{1.75em}
%\renewcommand{\@tocrmarg}{5in}
%\makeatother
%{3.55em}

\tableofcontents
\listoffigures
\listoftables

\include{preface}

\mainmatter
\pagenumbering{arabic}

\include{parsing}       % background on recursive descent parsing
\include{bigtopast}     % detailed walk through Bigtop's AST
\include{backendanat}   % building a backend by example (the deparser)
\backmatter
\addcontentsline{toc}{chapter}{Index}
\printindex
\end{document}
